package com.lemonPiggy.message.service;

import java.util.List;

import com.lemonPiggy.message.domain.MessageAnnouncementSend;
import com.lemonPiggy.message.model.AnnouncementSendModel;

/**
 * 用户通告阅读标记Service接口
 * 
 * @author ruoyi
 * @date 2021-08-17
 */
public interface IMessageAnnouncementSendService 
{
    /**
     * 查询用户通告阅读标记
     * 
     * @param id 用户通告阅读标记ID
     * @return 用户通告阅读标记
     */
    public MessageAnnouncementSend selectMessageAnnouncementSendById(String id);

    /**
     * 查询用户通告阅读标记列表
     * 
     * @param messageAnnouncementSend 用户通告阅读标记
     * @return 用户通告阅读标记集合
     */
    public List<MessageAnnouncementSend> selectMessageAnnouncementSendList(MessageAnnouncementSend messageAnnouncementSend);

    /**
     * 新增用户通告阅读标记
     * 
     * @param messageAnnouncementSend 用户通告阅读标记
     * @return 结果
     */
    public int insertMessageAnnouncementSend(MessageAnnouncementSend messageAnnouncementSend);

    /**
     * 修改用户通告阅读标记
     * 
     * @param messageAnnouncementSend 用户通告阅读标记
     * @return 结果
     */
    public int updateMessageAnnouncementSend(MessageAnnouncementSend messageAnnouncementSend);

    /**
     * 批量删除用户通告阅读标记
     * 
     * @param ids 需要删除的用户通告阅读标记ID
     * @return 结果
     */
    public int deleteMessageAnnouncementSendByIds(String[] ids);

    /**
     * 删除用户通告阅读标记信息
     * 
     * @param id 用户通告阅读标记ID
     * @return 结果
     */
    public int deleteMessageAnnouncementSendById(String id);



    public List<String> queryByUserId(String userId);

    /**
     * @功能：获取我的消息
     * @param announcementSendModel
     * @return
     */
    public List<AnnouncementSendModel>  getMyAnnouncementSendPage(AnnouncementSendModel announcementSendModel);

     int updateMessageSend(MessageAnnouncementSend messageAnnouncementSend,String anntId);

     int updateRead( MessageAnnouncementSend messageAnnouncementSend,Long userId);
}
